package com.mask.thread.pk03;

/**
 * @author hx
 * @since 2021/12/2 2:43 下午
 */

public class Test {
    public static void main(String[] args) throws InterruptedException {
        MyThread thread = new MyThread();
        thread.start();
        //Thread.sleep(2000);
        thread.join();
        System.out.println("主线程想等待子线程执行结束之后再运行这些代码");
    }
}
